package com.object.module.cbb.service.impl;

import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.object.configuration.utils.PageUtils;
import com.object.configuration.utils.Query;

import com.object.dao.cbb.CbbTikTokDao;
import com.object.module.cbb.entity.CbbTikTokEntity;
import com.object.module.cbb.service.CbbTikTokService;


@Service("cbbTikTokService")
public class CbbTikTokServiceImpl extends ServiceImpl<CbbTikTokDao, CbbTikTokEntity> implements CbbTikTokService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CbbTikTokEntity> page = this.page(
                new Query<CbbTikTokEntity>().getPage(params),
                new QueryWrapper<CbbTikTokEntity>()
        );

        return new PageUtils(page);
    }

}